<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>zziplib</Name>
        <Homepage>http://zziplib.sourceforge.net</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>LGPLv2</License>
        <License>MPL-1.1</License>
        <License>ZLIB</License>
        <IsA>app:console</IsA>
        <IsA>library</IsA>
        <Summary>libZ-based ZIP-access Library</Summary>
        <Description>zziplib provides read access to zipped files in a zip-archive, using compression based solely on free algorithms provided by zlib.</Description>
        <Archive sha1sum="cf8b642abd9db618324a1b98cc71492a007cd687" type="tarbz2">mirrors://sourceforge/zziplib/zziplib13/0.13.62/zziplib-0.13.62.tar.bz2</Archive>
        <BuildDependencies>
            <Dependency>libsdl-devel</Dependency>
	    <Dependency>zlib-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch level="1">dont-build-docs.patch</Patch>
            <!-- Fix broken zzip/_config.h which causes apps using zziplib to fail to compile -->
            <Patch level="1">zziplib-0.13.59-multilib.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>zziplib</Name>
        <RuntimeDependencies>
            <Dependency>libsdl</Dependency>
	    <Dependency>zlib</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="data">/usr/share/aclocal</Path>
        </Files>
    </Package>

    <Package>
        <Name>zziplib-devel</Name>
        <Summary>Development files for zziplib</Summary>
        <RuntimeDependencies>
            <Dependency release="current">zziplib</Dependency>
            <Dependency>libsdl-devel</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
            <Path fileType="man">/usr/share/man/man3</Path>
        </Files>
    </Package>

    <Package>
        <Name>zziplib-docs</Name>
        <Summary>Documentation for zziplib</Summary>
        <RuntimeDependencies>
            <Dependency release="current">zziplib</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="man">/usr/share/man/man1</Path>
        </Files>
    </Package>

    <History>
        <Update release="3">
            <Date>2016-04-04</Date>
            <Version>0.13.62</Version>
            <Comment>Rebuilt with docker</Comment>
            <Name>İbrahim KARAGÜZEL</Name>
            <Email>karaguzelibrahim@gmail.com</Email>
        </Update>
	<Update release="2">
            <Date>2013-01-16</Date>
            <Version>0.13.62</Version>
            <Comment>Rebuild for 1.0</Comment>
            <Name>Richard de Bruin</Name>
            <Email>richdb@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2012-11-03</Date>
            <Version>0.13.62</Version>
            <Comment>First release</Comment>
            <Name>Osman Erkan</Name>
            <Email>osman.erkan@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
